projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba33089
)
Make radio checkboxes work in eww
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 4 Mar 2021 11:11:08 +0000
(12:11 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 4 Mar 2021 11:11:08 +0000
(12:11 +0100)
* lisp/net/eww.el (eww-toggle-checkbox): Actually update the
:checked values in the form.
lisp/net/eww.el
patch
|
blob
|
history
diff --git
a/lisp/net/eww.el
b/lisp/net/eww.el
index c94fa03a071e068b84f9bb0fdef2bb5e60a1c1ae..32fe857e65c99010c630c1324dd7b576074bc40f 100644
(file)
--- a/
lisp/net/eww.el
+++ b/
lisp/net/eww.el
@@
-1595,9
+1595,9
@@
See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(goto-char (car elem))
(if (not (eq (cdr elem) input))
(progn
- (plist-put
input
:checked nil)
+ (plist-put
(cdr elem)
:checked nil)
(eww-update-field eww-form-checkbox-symbol))
- (plist-put
input
:checked t)
+ (plist-put
(cdr elem)
:checked t)
(eww-update-field eww-form-checkbox-selected-symbol)))))
(forward-char 1)))))